package com.twetec.cms.model.po.website;

import com.twetec.cms.model.po.base.BasePO;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhxl
 * @since 2021-09-23
 */
@TableName("SITE_CLUSTER_SERVER")
public class SiteClusterServerPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 服务器名称
     */
    @TableField("NAME")
    private String name;

    /**
     * IP地址
     */
    @TableField("IP")
    private String ip;

    /**
     * FTP端口
     */
    @TableField("FTP_PORT")
    private Integer ftpPort;

    /**
     * 站点根目录
     */
    @TableField("SITE_ROOT_PATH")
    private String siteRootPath;

    /**
     * 状态，0表示启用，1表示禁用
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 站点ID
     * @return
     */
    @TableField("SITE_ID")
    private Long siteId;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getFtpPort() {
        return ftpPort;
    }

    public void setFtpPort(Integer ftpPort) {
        this.ftpPort = ftpPort;
    }

    public String getSiteRootPath() {
        return siteRootPath;
    }

    public void setSiteRootPath(String siteRootPath) {
        this.siteRootPath = siteRootPath;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    @Override
    public String toString() {
        return "SiteClusterServerPO{" +
                "name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", ftpPort=" + ftpPort +
                ", siteRootPath='" + siteRootPath + '\'' +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", siteId=" + siteId +
                '}';
    }
}
